﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage_Admin.master" AutoEventWireup="true" CodeFile="UserEdit.aspx.cs" Inherits="Admin_Account_UserEdit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Title" runat="Server">
    <a href="UserList.aspx">用户账号管理</a><span>-新增</span>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" runat="Server">
    <div class="ht-panel-edit">
        <table class="ht-edit-table">
            <tr>
                <th>用户名称：</th>
                <td>
                    <asp:TextBox ID="txt_UserName" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>用户账号：</th>
                <td>
                    <asp:TextBox ID="txt_Account" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>性别：</th>
                <td>
                    <asp:RadioButtonList ID="rbl_Gender" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <asp:ListItem Text="男" Value="1" Selected="True"></asp:ListItem>
                        <asp:ListItem Text="女" Value="0"></asp:ListItem>
                    </asp:RadioButtonList>
                </td>
            </tr>
            <tr>
                <th>角色：</th>
                <td>
                    <asp:DropDownList ID="ddl_Role" runat="server" CssClass="ht-select"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <th>Contact：</th>
                <td>
                    <asp:TextBox ID="txt_Birthday" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>Skype：</th>
                <td>
                    <asp:TextBox ID="txt_Phone" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <th>Email：</th>
                <td>
                    <asp:TextBox ID="txt_CertificateNo" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <%--<tr style="display:none">
                <th>职务：</th>
                <td>
                    <asp:TextBox ID="txt_Post" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>
            <tr style="display:none">
                <th>科室：</th>
                <td>
                    <asp:TextBox ID="txt_Department" runat="server" CssClass="ht-textbox"></asp:TextBox>
                </td>
            </tr>--%>

            <tr>
                <th>状态：</th>
                <td>
                    <asp:CheckBox ID="ch_Valid" runat="server" Checked="true" Text="启用" />
                </td>
            </tr>
            <tr>
                <th></th>
                <td>
                    <asp:LinkButton ID="btn_Modify" runat="server" Text="编辑" OnClick="btn_Modify_Click" CssClass="easyui-linkbutton" data-options="iconCls:'icon-edit'" />
                    <asp:LinkButton ID="btn_Save" runat="server" Text="保存" OnClick="btn_Save_Click" CssClass="easyui-linkbutton" data-options="iconCls:'icon-save'" />
                    <asp:LinkButton ID="btn_Back" runat="server" Text="返回" PostBackUrl="UserList.aspx" CssClass="easyui-linkbutton" data-options="iconCls:'icon-back'" />
                </td>
            </tr>
        </table>
    </div>
    <%--<div class="ht-panel-grid">
        <asp:Repeater ID="rpt_list" runat="server">
            <HeaderTemplate>
                <table id="grid" class="ht-grid" border="0" style="margin-top: 10px;">
                    <tr>
                        <th style="width: 40px;">选择</th>
                        <th>角色名称</th>
                        <th>角色编码</th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <asp:RadioButton ID="rb_Select" runat="server" />
                        <asp:HiddenField ID="hf_RoleId" runat="server" Value='<%#Eval("RoleId") %>' />
                    </td>
                    <td><%#Eval("RoleName") %></td>
                    <td><%#Eval("RoleCode") %></td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
    </div>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="Footer" runat="Server">
    <%--    <script type="text/javascript">
        $('#grid input[type=radio]').click(function () {
            $('#grid input[type=radio]').not(this).removeAttr("checked");
            //$(this).attr("checked", "checked");
        });
    </script>--%>
</asp:Content>

